package com.xlf.service.base.service;

import com.xlf.common.core.util.page.TableDataInfo;
import com.xlf.pojo.base.Difficulty;
import com.xlf.pojo.base.ProblemList;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xlf.service.base.pojo.dto.ProblemListReqDTO;
import com.xlf.service.base.pojo.vo.ProblemListVO;

import java.util.List;

/**
 * @author 小新
 * @description 针对表【problem_list】的数据库操作Service
 * @createDate 2023-10-03 10:17:03
 */
public interface ProblemListService extends IService<ProblemList> {

    List<ProblemList> getList(ProblemList problemList);

    TableDataInfo<ProblemListVO> getList(ProblemListReqDTO problemListReqDTO);

    boolean saveOrUpdate_(ProblemList problemList);

    ProblemList getProblemList(String id);

    ProblemListVO getProblemListVO(String id);

    void delete(List<String> ids);

    boolean updateStatus(ProblemList problemList);
}
